
#include <Square.h>

Square::Square(unsigned int side):side_m(side)
{}

unsigned int 
Square::getArea() const
{
	return side_m*side_m;
}

unsigned int 
Square::getPerimeter() const
{      
        return 4*side_m;
}


void
Square::setSide(unsigned int side)
{      
        side_m = side;
}

